function gather_all_item_approve_level_for_price_or_cost(itemNbr, retailTaxOrCost, traitNbr, storeId, storeType, itemStoreJson, itemDcJson,
                                                         categoryNbr, subCategoryNbr, traitStore, wave_percent_approve_list_map, changeType,
                                                         itemStatus, vnpkQty, db2_vnpk_qty, db2_iva_tax) {
    var sku_approve_level_approve_price_or_costList = []
    var sku_approve_level_approve_price_or_cost_maxwave_warn = ''
    var sku_approve_level_approve_cost_by_cat_maxwave_warn = ''
    if (!isNull(retailTaxOrCost)) {
        var convert_to_club_dc_list_by_item_trait_nbr = func_convert_to_club_dc_list_by_item_trait_nbr(itemNbr, traitNbr, storeId,
            storeType, itemStoreJson, itemDcJson, traitStore, changeType);
        var convert_to_club_dc_with_in_trait_nbr_item_store_json_list = convert_to_club_dc_list_by_item_trait_nbr.convert_to_club_dc_with_in_trait_nbr_item_store_json_list

        if (!isNull(convert_to_club_dc_with_in_trait_nbr_item_store_json_list)) {
            convert_to_club_dc_with_in_trait_nbr_item_store_json_list.forEach(function (club_dc_with_in_trait_nbr_item_store_json) {
                var wave = ''
                if (changeType == 'price') {
                    var active_price_tax_retail_tax = func_active_price_tax(club_dc_with_in_trait_nbr_item_store_json.price_action_comp_retail,
                        club_dc_with_in_trait_nbr_item_store_json.price_action_pc_retail, db2_iva_tax);
                    if (active_price_tax_retail_tax == 0) {
                        active_price_tax_retail_tax = 0.1;
                    }
                    wave = parseFloat(((retailTaxOrCost - active_price_tax_retail_tax) / active_price_tax_retail_tax).toFixed(10))
                } else if (changeType == 'cost') {
                    var unit_cost_amount = ''
                    if (!isNull(club_dc_with_in_trait_nbr_item_store_json.dc_id)) {
                        if (club_dc_with_in_trait_nbr_item_store_json.vnpk_cost_amt == 0) {
                            club_dc_with_in_trait_nbr_item_store_json.vnpk_cost_amt = 0.1;
                        }
                        if (!isNull(vnpkQty) && vnpkQty != 0) {
                            unit_cost_amount = parseFloat((club_dc_with_in_trait_nbr_item_store_json.vnpk_cost_amt / vnpkQty).toFixed(10))
                        } else {
                            unit_cost_amount = parseFloat((club_dc_with_in_trait_nbr_item_store_json.vnpk_cost_amt / db2_vnpk_qty).toFixed(10))
                        }
                    } else {
                        if (club_dc_with_in_trait_nbr_item_store_json.price_action_pc_cost == 0) {
                            club_dc_with_in_trait_nbr_item_store_json.price_action_pc_cost = 0.1;
                        }
                        if (!isNull(vnpkQty) && vnpkQty != 0) {
                            unit_cost_amount = parseFloat((club_dc_with_in_trait_nbr_item_store_json.price_action_pc_cost / vnpkQty).toFixed(10))
                        } else {
                            unit_cost_amount = parseFloat((club_dc_with_in_trait_nbr_item_store_json.price_action_pc_cost / db2_vnpk_qty).toFixed(10))
                        }
                    }
                    wave = parseFloat(((retailTaxOrCost - unit_cost_amount) / unit_cost_amount).toFixed(10))
                    if (categoryNbr == 66 || categoryNbr == 96) {
                        if ((wave > 0 && wave <= 0.02) || (wave < 0 && wave >= -0.02)) {
                            sku_approve_level_approve_cost_by_cat_maxwave_warn = wave
                        }
                    }
                }
                var wave_percent_approve_list = [];
                if (!isNull(wave_percent_approve_list_map)) {
                    if (wave >= 0) {
                        wave_percent_approve_list = wave_percent_approve_list_map['+'];
                    } else {
                        wave_percent_approve_list = wave_percent_approve_list_map['-'];
                    }
                }

                // 变价幅度打印
                // sku_approve_level_approve_price_or_costList.push('wave:[' + wave + '],retailTaxOrCost:['
                //     + retailTaxOrCost + '],amount:[' + club_dc_with_in_trait_nbr_item_store_json.amount + '],' +
                //     'price_action_comp_retail:[' + club_dc_with_in_trait_nbr_item_store_json.price_action_comp_retail + '],' +
                //     'price_action_pc_retail:[' + club_dc_with_in_trait_nbr_item_store_json.price_action_pc_retail + '],' +
                //     'iva_tax:[' + club_dc_with_in_trait_nbr_item_store_json.iva_tax + ']');


                wave_percent_approve_list.forEach(function (wave_percent_approve) {
                    var waveStart = wave_percent_approve.waveStart;
                    var waveEnd = wave_percent_approve.waveEnd;
                    if (changeType == 'cost' && wave == 0) {
                        sku_approve_level_approve_price_or_costList.push('DMM');
                    } else {
                        if ((wave < 0 && waveStart < wave && waveEnd >= wave) || (wave >= 0 && waveStart <= wave && waveEnd > wave)) {
                            var approve = wave_percent_approve.approve;
                            if (!isNull(approve)) {
                                var approveList = approve.split('-');
                                approveList.forEach(function (a) {
                                    sku_approve_level_approve_price_or_costList.push(a);
                                })
                            }
                        }
                    }
                });
                var item_store_dc_status = ''
                if (!isNull(club_dc_with_in_trait_nbr_item_store_json.dc_id)) {
                    item_store_dc_status = club_dc_with_in_trait_nbr_item_store_json.item_dc_status
                } else {
                    item_store_dc_status = club_dc_with_in_trait_nbr_item_store_json.item_store_status
                }
                if (changeType == 'price') {
                    var maxWaveStart = ''
                    wave_percent_approve_list_map['+'].forEach(function (wave_percent_approve) {
                        var wavePercent = wave_percent_approve.wavePercent;
                        var waveStart = wave_percent_approve.waveStart;
                        if (isNull(maxWaveStart) && wavePercent.indexOf('~') == -1 && waveStart > 0) {
                            maxWaveStart = waveStart
                        }
                    });

                    var minWaveEnd = ''
                    wave_percent_approve_list_map['-'].forEach(function (wave_percent_approve) {
                        var wavePercent = wave_percent_approve.wavePercent;
                        var waveEnd = wave_percent_approve.waveEnd;
                        if (isNull(minWaveEnd) && wavePercent.indexOf('~') == -1 && waveEnd < 0) {
                            minWaveEnd = waveEnd
                        }
                    });
                    if ((!isNull(maxWaveStart) && maxWaveStart > 0 && wave >= maxWaveStart) ||
                        !isNull(minWaveEnd) && minWaveEnd < 0 && wave <= minWaveEnd) {
                        if (!isNull(itemStatus)) {
                            if (!isNull(item_store_dc_status) && (item_store_dc_status == 'C' || item_store_dc_status == 'D') && (itemStatus == 'O' || itemStatus == 'S')) {
                                //C/D 改为 O/S，即使降价 超过 -30%，也仅审批到GMM
                                sku_approve_level_approve_price_or_costList = listToSplice(sku_approve_level_approve_price_or_costList, 'CMO')
                            }
                        }
                        sku_approve_level_approve_price_or_cost_maxwave_warn = wave;
                    }
                }
                if (changeType == 'price' && ((!isNull(itemStatus) && (itemStatus == 'C' || itemStatus == 'D')) || (isNull(itemStatus) && !isNull(item_store_dc_status)
                    && item_store_dc_status == 'C' || item_store_dc_status == 'D')) && wave < 0) {
                    sku_approve_level_approve_price_or_costList = listToSplice(sku_approve_level_approve_price_or_costList, 'CMO')
                }
            })
        }
    }
    if (subCategoryNbr == 98 || (categoryNbr == 16 && !isNull(subCategoryNbr) && '18/20/22/24/26/28'.split('/').indexOf(subCategoryNbr) != -1)) {
        sku_approve_level_approve_price_or_costList = listToSplice(sku_approve_level_approve_price_or_costList, 'CMO')
        sku_approve_level_approve_price_or_costList = listToSplice(sku_approve_level_approve_price_or_costList, 'PricingTeam')
    }

    var gather_all_item_approve_level_for_price_or_cost_res = {}
    sku_approve_level_approve_price_or_costList = listToUnique(sku_approve_level_approve_price_or_costList);
    gather_all_item_approve_level_for_price_or_cost_res.sku_approve_level_approve_price_or_costList = sku_approve_level_approve_price_or_costList
    gather_all_item_approve_level_for_price_or_cost_res.sku_approve_level_approve_price_or_cost_maxwave_warn = sku_approve_level_approve_price_or_cost_maxwave_warn
    gather_all_item_approve_level_for_price_or_cost_res.sku_approve_level_approve_cost_by_cat_maxwave_warn = sku_approve_level_approve_cost_by_cat_maxwave_warn
    return gather_all_item_approve_level_for_price_or_cost_res;
}